@import './../assets/global-var.less';
html,
body {
  padding: 0;
  margin: 0;
}

.globalContent {
  display: flex;
  overflow: hidden;

  .mainArea {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: white;
    width: 100%;
    box-sizing: border-box;

    .renderArea {
      position: relative;
      background: white;
      width: 100%;
      border-radius: 5px 5px 0 0;
      box-sizing: border-box;
      overflow: auto;
    }
  }
}

:global(.hiddenHeader) {
  .globalHeader {
    display: none;
  }

  .mainArea {
    height: calc(100vh);
  }
}

:global(.hiddenAllExtra) {
  .mainArea {
    padding: 0;

    .renderArea {
      margin: 0;
      height: 100%;
    }
  }
}

:global(.darkTheme) {
  .globalContent {
    color: white;
  }

  .mainArea {
    background-color: #5c5c5c;

    .renderArea {
      background-color: black;
    }
  }
}
